package dbtest.com.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
 * <p>
 * 账户流水表
 * </p>
 *
 * @author mfx
 * @since 2020-10-27
 */
@TableName("dts_account_trace")
public class AccountTrace implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 操作流水
     */
    private String traceSn;

    /**
     * 用户表的用户ID
     */
    private Integer userId;

    /**
     * 操作类型 0:系统结算 1:用户提现
     */
    private Integer type;

    /**
     * 操作金额
     */
    private BigDecimal amount;

    /**
     * 总申请金额
     */
    private BigDecimal totalAmount;

    /**
     * 申请时间
     */
    private Date addTime;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 短信提取码
     */
    private String smsCode;

    /**
     * 审批状态
     */
    private Integer status;

    /**
     * 消息内容
     */
    private String traceMsg;

    /**
     * 审批时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTraceSn() {
        return traceSn;
    }

    public void setTraceSn(String traceSn) {
        this.traceSn = traceSn;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTraceMsg() {
        return traceMsg;
    }

    public void setTraceMsg(String traceMsg) {
        this.traceMsg = traceMsg;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "AccountTrace{" +
        ", id=" + id +
        ", traceSn=" + traceSn +
        ", userId=" + userId +
        ", type=" + type +
        ", amount=" + amount +
        ", totalAmount=" + totalAmount +
        ", addTime=" + addTime +
        ", mobile=" + mobile +
        ", smsCode=" + smsCode +
        ", status=" + status +
        ", traceMsg=" + traceMsg +
        ", updateTime=" + updateTime +
        "}";
    }
}
